package com.rc.saas.mini.model.tenant;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" tenant_user_role ", description=" 运营商后台用户角色关联表 ")
public class TenantUserRole extends BaseModel{ 

    @ApiModelProperty(value = "用户角色ID")
    private Long tenantUserRoleId;
 
    @ApiModelProperty(value = "角色ID,关联tenant_role表")
    private Long tenantRoleId;
 
    @ApiModelProperty(value = "管理员ID,关联tenant_user表")
    private Long tenantUserId;
 
    @ApiModelProperty(value = "创建者")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    public Long getTenantUserRoleId() {
        return tenantUserRoleId;
    }

    public void setTenantUserRoleId(Long tenantUserRoleId) {
        this.tenantUserRoleId = tenantUserRoleId;
    }

    public Long getTenantRoleId() {
        return tenantRoleId;
    }

    public void setTenantRoleId(Long tenantRoleId) {
        this.tenantRoleId = tenantRoleId;
    }

    public Long getTenantUserId() {
        return tenantUserId;
    }

    public void setTenantUserId(Long tenantUserId) {
        this.tenantUserId = tenantUserId;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

}
